class TFCMWhiteout extends Inventory;

var float Amount;

replication
{
     reliable if( Role==ROLE_Authority )
          Amount;
}

simulated function PostBeginPlay()
{
	Settimer(0.05, true);
}

function Timer()
{
    Amount-=0.05;

    if(frand()<amount/15)
        pawn(owner).velocity-=pawn(owner).velocity*vect(0.2,0.2,0);

    if(amount<=0) Destroy();
}

defaultproperties
{
     Amount=0.100000
}
